<style>
<!--
body{
font:12px 'lucida sans';
line-height:1.5;
padding:12px;
}
-->
</style>
<?php
// a shortcut:
function _e($title, $var)
{
    echo "<h3>$title</h3>";
    Blib::dump($var);

}// end _e

/**
 * this is the utility example
 * shows various things we can do with the utility
 */
// as usual, include the only file we need to include
require_once dirname(__file__) . '/../blib/blib.php';
// start counting
Blib::_bstart('start counting');

// 1. test date...
$date = Blib_Utility_Date::getTimeStamp();
_e('Current Timestamp', $date);
Blib::_bp('check time stamp');

// 2. do a long calculation, maybe a loop
$m = 1;
for ($i = 0; $i <=1000; $i ++) {
     $m += $i;
}
_e('M\'s value:', $m);
Blib::_bp('calculating for 1000 times');

// 3. check the status...
Blib::_bstatus();
?>